<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: debug.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('debug_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">debug.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Ethernet interface for debugging purposes.  
<a href="#details">More...</a></p>

<p><a href="debug_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a11a1c64e15248046846431990839c0f4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a11a1c64e15248046846431990839c0f4">ec_dbgdev_open</a> (struct net_device *dev)</td></tr>
<tr class="memdesc:a11a1c64e15248046846431990839c0f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the virtual network device.  <a href="#a11a1c64e15248046846431990839c0f4">More...</a><br /></td></tr>
<tr class="separator:a11a1c64e15248046846431990839c0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59052897d8dbe64aba431cc31ba628a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a59052897d8dbe64aba431cc31ba628a9">ec_dbgdev_stop</a> (struct net_device *dev)</td></tr>
<tr class="memdesc:a59052897d8dbe64aba431cc31ba628a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the virtual network device.  <a href="#a59052897d8dbe64aba431cc31ba628a9">More...</a><br /></td></tr>
<tr class="separator:a59052897d8dbe64aba431cc31ba628a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a753de72c1a12d2dda7fd2817ce8784cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a753de72c1a12d2dda7fd2817ce8784cc">ec_dbgdev_tx</a> (struct sk_buff *skb, struct net_device *dev)</td></tr>
<tr class="memdesc:a753de72c1a12d2dda7fd2817ce8784cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmits data via the virtual network device.  <a href="#a753de72c1a12d2dda7fd2817ce8784cc">More...</a><br /></td></tr>
<tr class="separator:a753de72c1a12d2dda7fd2817ce8784cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8061a6af8b6ec3067b2c171fbae47bf"><td class="memItemLeft" align="right" valign="top">struct net_device_stats *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#ab8061a6af8b6ec3067b2c171fbae47bf">ec_dbgdev_stats</a> (struct net_device *dev)</td></tr>
<tr class="memdesc:ab8061a6af8b6ec3067b2c171fbae47bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets statistics about the virtual network device.  <a href="#ab8061a6af8b6ec3067b2c171fbae47bf">More...</a><br /></td></tr>
<tr class="separator:ab8061a6af8b6ec3067b2c171fbae47bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4a40ce6bb6a66bd034790c3a7985c80"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#ab4a40ce6bb6a66bd034790c3a7985c80">ec_debug_init</a> (<a class="el" href="structec__debug__t.html">ec_debug_t</a> *dbg, <a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device, const char *name)</td></tr>
<tr class="memdesc:ab4a40ce6bb6a66bd034790c3a7985c80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Debug interface constructor.  <a href="#ab4a40ce6bb6a66bd034790c3a7985c80">More...</a><br /></td></tr>
<tr class="separator:ab4a40ce6bb6a66bd034790c3a7985c80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1711152b73dc97bc81a9e9aae4b8a263"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a1711152b73dc97bc81a9e9aae4b8a263">ec_debug_clear</a> (<a class="el" href="structec__debug__t.html">ec_debug_t</a> *dbg)</td></tr>
<tr class="memdesc:a1711152b73dc97bc81a9e9aae4b8a263"><td class="mdescLeft">&#160;</td><td class="mdescRight">Debug interface destructor.  <a href="#a1711152b73dc97bc81a9e9aae4b8a263">More...</a><br /></td></tr>
<tr class="separator:a1711152b73dc97bc81a9e9aae4b8a263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a683a1dd06041ed934990c736ab3267a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a683a1dd06041ed934990c736ab3267a9">ec_debug_register</a> (<a class="el" href="structec__debug__t.html">ec_debug_t</a> *dbg, const struct net_device *net_dev)</td></tr>
<tr class="memdesc:a683a1dd06041ed934990c736ab3267a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register debug interface.  <a href="#a683a1dd06041ed934990c736ab3267a9">More...</a><br /></td></tr>
<tr class="separator:a683a1dd06041ed934990c736ab3267a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488b3c97e9786a33f2372180de561591"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a488b3c97e9786a33f2372180de561591">ec_debug_unregister</a> (<a class="el" href="structec__debug__t.html">ec_debug_t</a> *dbg)</td></tr>
<tr class="memdesc:a488b3c97e9786a33f2372180de561591"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister debug interface.  <a href="#a488b3c97e9786a33f2372180de561591">More...</a><br /></td></tr>
<tr class="separator:a488b3c97e9786a33f2372180de561591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af11807b9c95c1c4f05aa0cd5a672a560"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#af11807b9c95c1c4f05aa0cd5a672a560">ec_debug_send</a> (<a class="el" href="structec__debug__t.html">ec_debug_t</a> *dbg, const uint8_t *data, size_t size)</td></tr>
<tr class="memdesc:af11807b9c95c1c4f05aa0cd5a672a560"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends frame data to the interface.  <a href="#af11807b9c95c1c4f05aa0cd5a672a560">More...</a><br /></td></tr>
<tr class="separator:af11807b9c95c1c4f05aa0cd5a672a560"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a1049a945f6a46b9a8a8ab4684958d59f"><td class="memItemLeft" align="right" valign="top">static const struct net_device_ops&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8c.html#a1049a945f6a46b9a8a8ab4684958d59f">ec_dbg_netdev_ops</a></td></tr>
<tr class="memdesc:a1049a945f6a46b9a8a8ab4684958d59f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device operations for debug interfaces.  <a href="#a1049a945f6a46b9a8a8ab4684958d59f">More...</a><br /></td></tr>
<tr class="separator:a1049a945f6a46b9a8a8ab4684958d59f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Ethernet interface for debugging purposes. </p>

<p class="definition">Definition in file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a11a1c64e15248046846431990839c0f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11a1c64e15248046846431990839c0f4">&#9670;&nbsp;</a></span>ec_dbgdev_open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_dbgdev_open </td>
          <td>(</td>
          <td class="paramtype">struct net_device *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens the virtual network device. </p>
<dl class="section return"><dt>Returns</dt><dd>Always zero (success). </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>debug net_device </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00206">206</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="a59052897d8dbe64aba431cc31ba628a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59052897d8dbe64aba431cc31ba628a9">&#9670;&nbsp;</a></span>ec_dbgdev_stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_dbgdev_stop </td>
          <td>(</td>
          <td class="paramtype">struct net_device *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops the virtual network device. </p>
<dl class="section return"><dt>Returns</dt><dd>Always zero (success). </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>debug net_device </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00223">223</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="a753de72c1a12d2dda7fd2817ce8784cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a753de72c1a12d2dda7fd2817ce8784cc">&#9670;&nbsp;</a></span>ec_dbgdev_tx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_dbgdev_tx </td>
          <td>(</td>
          <td class="paramtype">struct sk_buff *&#160;</td>
          <td class="paramname"><em>skb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct net_device *&#160;</td>
          <td class="paramname"><em>dev</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transmits data via the virtual network device. </p>
<dl class="section return"><dt>Returns</dt><dd>Always zero (success). </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">skb</td><td>transmit socket buffer </td></tr>
    <tr><td class="paramname">dev</td><td>EoE net_device </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00240">240</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="ab8061a6af8b6ec3067b2c171fbae47bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8061a6af8b6ec3067b2c171fbae47bf">&#9670;&nbsp;</a></span>ec_dbgdev_stats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct net_device_stats * ec_dbgdev_stats </td>
          <td>(</td>
          <td class="paramtype">struct net_device *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets statistics about the virtual network device. </p>
<dl class="section return"><dt>Returns</dt><dd>Statistics. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>debug net_device </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00258">258</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="ab4a40ce6bb6a66bd034790c3a7985c80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4a40ce6bb6a66bd034790c3a7985c80">&#9670;&nbsp;</a></span>ec_debug_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_debug_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__debug__t.html">ec_debug_t</a> *&#160;</td>
          <td class="paramname"><em>dbg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *&#160;</td>
          <td class="paramname"><em>device</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Debug interface constructor. </p>
<p>Initializes the debug object, creates a net_device and registeres it.</p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>Success. </td></tr>
    <tr><td class="paramname">&lt;0</td><td>Error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dbg</td><td>Debug object. </td></tr>
    <tr><td class="paramname">device</td><td>EtherCAT device. </td></tr>
    <tr><td class="paramname">name</td><td>Interface name. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00074">74</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="a1711152b73dc97bc81a9e9aae4b8a263"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1711152b73dc97bc81a9e9aae4b8a263">&#9670;&nbsp;</a></span>ec_debug_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_debug_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__debug__t.html">ec_debug_t</a> *&#160;</td>
          <td class="paramname"><em>dbg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Debug interface destructor. </p>
<p>Unregisters the net_device and frees allocated memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dbg</td><td>debug object </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00115">115</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="a683a1dd06041ed934990c736ab3267a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a683a1dd06041ed934990c736ab3267a9">&#9670;&nbsp;</a></span>ec_debug_register()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_debug_register </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__debug__t.html">ec_debug_t</a> *&#160;</td>
          <td class="paramname"><em>dbg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct net_device *&#160;</td>
          <td class="paramname"><em>net_dev</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register debug interface. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dbg</td><td>debug object </td></tr>
    <tr><td class="paramname">net_dev</td><td>'Real' Ethernet device. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00127">127</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="a488b3c97e9786a33f2372180de561591"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a488b3c97e9786a33f2372180de561591">&#9670;&nbsp;</a></span>ec_debug_unregister()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_debug_unregister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__debug__t.html">ec_debug_t</a> *&#160;</td>
          <td class="paramname"><em>dbg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unregister debug interface. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dbg</td><td>debug object </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00152">152</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<a id="af11807b9c95c1c4f05aa0cd5a672a560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af11807b9c95c1c4f05aa0cd5a672a560">&#9670;&nbsp;</a></span>ec_debug_send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_debug_send </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__debug__t.html">ec_debug_t</a> *&#160;</td>
          <td class="paramname"><em>dbg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends frame data to the interface. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dbg</td><td>debug object </td></tr>
    <tr><td class="paramname">data</td><td>frame data </td></tr>
    <tr><td class="paramname">size</td><td>size of the frame data </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00167">167</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a1049a945f6a46b9a8a8ab4684958d59f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1049a945f6a46b9a8a8ab4684958d59f">&#9670;&nbsp;</a></span>ec_dbg_netdev_ops</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const struct net_device_ops ec_dbg_netdev_ops</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line">    .ndo_open = <a class="code" href="debug_8c.html#a11a1c64e15248046846431990839c0f4">ec_dbgdev_open</a>,</div><div class="line">    .ndo_stop = <a class="code" href="debug_8c.html#a59052897d8dbe64aba431cc31ba628a9">ec_dbgdev_stop</a>,</div><div class="line">    .ndo_start_xmit = <a class="code" href="debug_8c.html#a753de72c1a12d2dda7fd2817ce8784cc">ec_dbgdev_tx</a>,</div><div class="line">    .ndo_get_stats = <a class="code" href="debug_8c.html#ab8061a6af8b6ec3067b2c171fbae47bf">ec_dbgdev_stats</a>,</div><div class="line">}</div><div class="ttc" id="debug_8c_html_a753de72c1a12d2dda7fd2817ce8784cc"><div class="ttname"><a href="debug_8c.html#a753de72c1a12d2dda7fd2817ce8784cc">ec_dbgdev_tx</a></div><div class="ttdeci">int ec_dbgdev_tx(struct sk_buff *, struct net_device *)</div><div class="ttdoc">Transmits data via the virtual network device. </div><div class="ttdef"><b>Definition:</b> <a href="debug_8c_source.html#l00240">debug.c:240</a></div></div>
<div class="ttc" id="debug_8c_html_a59052897d8dbe64aba431cc31ba628a9"><div class="ttname"><a href="debug_8c.html#a59052897d8dbe64aba431cc31ba628a9">ec_dbgdev_stop</a></div><div class="ttdeci">int ec_dbgdev_stop(struct net_device *)</div><div class="ttdoc">Stops the virtual network device. </div><div class="ttdef"><b>Definition:</b> <a href="debug_8c_source.html#l00223">debug.c:223</a></div></div>
<div class="ttc" id="debug_8c_html_ab8061a6af8b6ec3067b2c171fbae47bf"><div class="ttname"><a href="debug_8c.html#ab8061a6af8b6ec3067b2c171fbae47bf">ec_dbgdev_stats</a></div><div class="ttdeci">struct net_device_stats * ec_dbgdev_stats(struct net_device *)</div><div class="ttdoc">Gets statistics about the virtual network device. </div><div class="ttdef"><b>Definition:</b> <a href="debug_8c_source.html#l00258">debug.c:258</a></div></div>
<div class="ttc" id="debug_8c_html_a11a1c64e15248046846431990839c0f4"><div class="ttname"><a href="debug_8c.html#a11a1c64e15248046846431990839c0f4">ec_dbgdev_open</a></div><div class="ttdeci">int ec_dbgdev_open(struct net_device *)</div><div class="ttdoc">Opens the virtual network device. </div><div class="ttdef"><b>Definition:</b> <a href="debug_8c_source.html#l00206">debug.c:206</a></div></div>
</div><!-- fragment -->
<p>Device operations for debug interfaces. </p>

<p class="definition">Definition at line <a class="el" href="debug_8c_source.html#l00056">56</a> of file <a class="el" href="debug_8c_source.html">debug.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="debug_8c.html">debug.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
